package com.manbu.springcloud.dao;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import com.manbu.springcloud.pojo.Dept;

import java.util.List;

@Mapper
@Repository
public interface DeptDao {
    public boolean addDept(Dept dept);

    public Dept queryDeptById(@Param("deptno") Long id);

    public List<Dept> queryAll();
}
